Skip to main content

Update a natural person customer

PATCH 

https://apisandbox.delbank.com.br/baas/api/v1/customers/person-natural/:document

Endpoint to Update a natural person customer

Request

Bodyrequired

    documentstring

    Document identifier

    namestring

    Name of the customer

    emailstring

    Email address of the customer

    phone object
    dddstring

    Area code

    numberstring

    Phone number

    typestring

    Type of phone number

    Possible values: [RESIDENTIAL, CELL]

    monthlyInvoicingdouble

    Monthly invoicing amount

    birthDatedate-time

    Birth date of the customer

    educationLevelstring

    Education level of the customer

    Possible values: [UNDEFINED, ILLITERATE, ELEMENTARY_1_TO_4_YEAR, ELEMENTARY_5_YEAR, ELEMENTARY_6_TO_4_YEAR, COMPLETE_ELEMENTARY, INCOMPLETE_HIGH_SCHOOL, COMPLETE_HIGH_SCHOOL, INCOMPLETE_HIGHER, COMPLETE_HIGHER, POSTGRADUATE, MASTER_DEGREE, DOCTORATE_DEGREE]

    maritalStatusstring

    Marital status of the customer

    Possible values: [UNDEFINED, SINGLE, MARRIED, LEGALLY_SEPARATED, DIVORCED, STABLE_UNION, DETACHED, WIDOWER, OTHERS]

    genderstring

    Gender of the customer

    Possible values: [UNINFORMED, MALE, FEMALE]

    address object
    typestring

    Address type

    Possible values: [COMMERCIAL, RESIDECIAL]

    publicPlacestring

    Public place

    numberstring

    Address number

    zipCodestring

    Zip code

    cityNamestring

    City name

    neighborhoodstring

    Neighborhood

Responses

Success

Schema
  • Array [
  • documentstring
    namestring
    emailstring
    typestring

    Possible values: [LEGAL, NATURAL]

    statusstring
    virtualBranch object
    numbernumber
    namestring
    ownerNamestring
    ownerDocumentstring
    ownerBankAccountstring
  • ]
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Patch, "https://apisandbox.delbank.com.br/baas/api/v1/customers/person-natural/:document");
var content = new StringContent("{\n \"document\": \"string\",\n \"name\": \"string\",\n \"email\": \"string\",\n \"phone\": {\n \"ddd\": \"string\",\n \"number\": \"string\",\n \"type\": \"RESIDENTIAL\"\n },\n \"monthlyInvoicing\": 0,\n \"birthDate\": \"2024-07-29T15:51:28.071Z\",\n \"educationLevel\": \"UNDEFINED\",\n \"maritalStatus\": \"UNDEFINED\",\n \"gender\": \"UNNIFORMED\",\n \"address\": {\n \"type\": \"COMMERCIAL\",\n \"publicPlace\": \"string\",\n \"number\": \"string\",\n \"zipCode\": \"string\",\n \"cityName\": \"string\",\n \"neighborhood\": \"string\"\n }\n}", null, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://apisandbox.delbank.com.br
Body required
{
  "document": "string",
  "name": "string",
  "email": "string",
  "phone": {
    "ddd": "string",
    "number": "string",
    "type": "RESIDENTIAL"
  },
  "monthlyInvoicing": 0,
  "birthDate": "2024-07-29T15:51:28.071Z",
  "educationLevel": "UNDEFINED",
  "maritalStatus": "UNDEFINED",
  "gender": "UNNIFORMED",
  "address": {
    "type": "COMMERCIAL",
    "publicPlace": "string",
    "number": "string",
    "zipCode": "string",
    "cityName": "string",
    "neighborhood": "string"
  }
}
ResponseClear

Click the Send API Request button above and see the response here!